package com.lgr.store.vo;

import java.io.Serializable;
import java.util.List;
/*
* 创建JAVABEAN的要求
* 1.每个表建一个对应的实体BEAN，同时序列化
* 2.对应表中的字段全部要有对应的属性（变量），属性名称与字段名称一致
* 3.对每一个JAVABEAN要重写toString方法，原因是因为写日志时需要调用toString方法保存内容
* */
//订单主表
public class OrdersVo implements Serializable{

	private String orderNo;
	private String orderDate;
	private String orderDate2;
	private int supplierId;
	private int orderType;
	private int invalid;
	private int aduitStatus;
	private String oprDate;
	private String remark;
	private String aduitPerson;
	private String aduitDate;
	private String empName;
	private String supplierCode;
	private String supplierName;
	private int oprFlag;//查询/Excel导出标志
	private List<OrderDetailVo> detailList;
	//订单明细数据
	private String detailData;
	public int getOprFlag() {
		return oprFlag;
	}

	//重写toString方法，在写日志时需要保存toString返回的内容

	@Override
	public String toString() {
		return "订单号="+this.orderNo+",日期="+this.orderDate+",供应商id="+this.supplierName+",开单人:"+empName+",操作时间:"+this.oprDate;
	}

	public void setOprFlag(int oprFlag) {
		this.oprFlag = oprFlag;
	}
	public List<OrderDetailVo> getDetailList() {
		return detailList;
	}
	public void setDetailList(List<OrderDetailVo> detailList) {
		this.detailList = detailList;
	}
	
	public String getDetailData() {
		return detailData;
	}
	public void setDetailData(String detailData) {
		this.detailData = detailData;
	}
	
	public String getOrderDate2() {
		return orderDate2;
	}
	public void setOrderDate2(String orderDate2) {
		this.orderDate2 = orderDate2;
	}
	public String getAduitPerson() {
		return aduitPerson;
	}
	public String getSupplierCode() {
		return supplierCode;
	}
	public void setSupplierCode(String supplierCode) {
		this.supplierCode = supplierCode;
	}
	public String getSupplierName() {
		return supplierName;
	}
	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public void setAduitPerson(String aduitPerson) {
		this.aduitPerson = aduitPerson;
	}
	public String getAduitDate() {
		return aduitDate;
	}
	public void setAduitDate(String aduitDate) {
		this.aduitDate = aduitDate;
	}
	public String getEmpName() {
		return empName;
	}
	public void setEmpName(String empName) {
		this.empName = empName;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public String getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}
	public int getSupplierId() {
		return supplierId;
	}
	public void setSupplierId(int supplierId) {
		this.supplierId = supplierId;
	}
	public int getOrderType() {
		return orderType;
	}
	public void setOrderType(int orderType) {
		this.orderType = orderType;
	}
	public int getInvalid() {
		return invalid;
	}
	public void setInvalid(int invalid) {
		this.invalid = invalid;
	}
	public int getAduitStatus() {
		return aduitStatus;
	}
	public void setAduitStatus(int aduitStatus) {
		this.aduitStatus = aduitStatus;
	}
	public String getOprDate() {
		return oprDate;
	}
	public void setOprDate(String oprDate) {
		this.oprDate = oprDate;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
